import request from './request'

export function getFoodList(data) {
    return request({
        url: '/food/GetFoodList',
        method: 'post',
        data
    })
}

export function insertFoodInfo(data) {
    return request({
        url: '/food/InsertFoodInfo',
        method: 'post',
        data
    })
}

export function getFoodInfo(data) {
    return request({
        url: '/food/GetFoodInfo',
        method: 'post',
        data
    })
}

export function saveFoodInfo(data) {
    return request({
        url: '/food/SaveFoodInfo',
        method: 'post',
        data
    })
}

export function deleteFoodInfo(data) {
    return request({
        url: '/food/DeleteFoodInfo',
        method: 'post',
        data
    })
}